package com.xuetang9.wordreview.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xuetang9.wordreview.domain.WordDomain;
import com.xuetang9.wordreview.request.WordCreatOrUpdateRequest;
import com.xuetang9.wordreview.request.WordPageRequest;

/**
 * <p>Description:  </p>
 * <p>CreateTime:   2020/7/4 </p>
 *
 * @author fujian
 */
public interface WordService extends IService<WordDomain> {
    void del(Integer id);

    void creatOrUpdateWord(WordCreatOrUpdateRequest request);

    IPage<WordDomain> page(WordPageRequest request);
}
